package Terminal.View;

import java.awt.Font;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class JTitolo extends JPanel{
	
	private static final long serialVersionUID = 1L;
	private JLabel logo = new JLabel();
	private JLabel payoff = new JLabel();


	public JTitolo(){
		super();
		this.createComponents();
	}
	
	public void createComponents(){

		this.setLayout(null);
		this.setBounds(0,0, 1366, 151);
		
		logo.setBounds(50, 20, 350, 150);
		//logo.setBounds(50, 20, 150, 150);
		payoff.setBounds(400, 20, 800, 150);
					
		logo.setIcon(new ImageIcon("src\\Terminal\\View\\img\\Logo.png"));
			
		payoff.setText("Time Logging - Proprietario");
		Font currentFont = this.getFont();
		Font newFont = new Font(currentFont.getName(), currentFont.getStyle(), 56);
		
		payoff.setFont(newFont);
			
		this.add(logo);
		this.add(payoff);
	
		this.setVisible(true);
	}
	
}
